package com.macoli.mock_server.di.component

import com.macoli.mock_server.MockService
import com.macoli.mock_server.common.Configuration
import com.macoli.mock_server.httpserver.HttpServer
import com.macoli.mock_server.di.module.ConfigurationModule
import com.macoli.mock_server.di.scope.AppScope
import com.macoli.mock_server.httpserver.module.RouterModule
import dagger.Component

@AppScope
@Component(modules = arrayOf(RouterModule::class , ConfigurationModule::class))
interface BaseComponent {
    fun injectHttpServer(httpServer: HttpServer)
    fun injectMockService(mockService: MockService)
    fun injectConfiguration(configuration: Configuration)
}